package com.example.chasshelper.model;

import java.io.Serializable;

public class Test implements Serializable {
    private Integer testId;//id

    private String testContext;//题目内容

    private String testType;//题目类型，有判断题（2ge选项)、单选题、多选题(单选、多选最少三个选项）

    private String testAnswer;//正确答案

    private String testItemNum;//选项个数（最多5个选项）

    private String testItem1;//选项1

    private String testItem2;//选项2

    private String testItem3;//选项3

    private String testItem4;//选项4

    private String testItem5;//选项5

    public Integer getTestId() {
        return testId;
    }

    public void setTestId(Integer testId) {
        this.testId = testId;
    }

    public String getTestContext() {
        return testContext;
    }

    public void setTestContext(String testContext) {
        this.testContext = testContext;
    }

    public String getTestType() {
        return testType;
    }

    public void setTestType(String testType) {
        this.testType = testType;
    }

    public String getTestAnswer() {
        return testAnswer;
    }

    public void setTestAnswer(String testAnswer) {
        this.testAnswer = testAnswer;
    }

    public String getTestItemNum() {
        return testItemNum;
    }

    public void setTestItemNum(String testItemNum) {
        this.testItemNum = testItemNum;
    }

    public String getTestItem1() {
        return testItem1;
    }

    public void setTestItem1(String testItem1) {
        this.testItem1 = testItem1;
    }

    public String getTestItem2() {
        return testItem2;
    }

    public void setTestItem2(String testItem2) {
        this.testItem2 = testItem2;
    }

    public String getTestItem3() {
        return testItem3;
    }

    public void setTestItem3(String testItem3) {
        this.testItem3 = testItem3;
    }

    public String getTestItem4() {
        return testItem4;
    }

    public void setTestItem4(String testItem4) {
        this.testItem4 = testItem4;
    }

    public String getTestItem5() {
        return testItem5;
    }

    public void setTestItem5(String testItem5) {
        this.testItem5 = testItem5;
    }

    @Override
    public String toString() {
        return "Test{" +
                "testId=" + testId +
                ", testContext='" + testContext + '\'' +
                ", testType='" + testType + '\'' +
                ", testAnswer='" + testAnswer + '\'' +
                ", testItemNum='" + testItemNum + '\'' +
                ", testItem1='" + testItem1 + '\'' +
                ", testItem2='" + testItem2 + '\'' +
                ", testItem3='" + testItem3 + '\'' +
                ", testItem4='" + testItem4 + '\'' +
                ", testItem5='" + testItem5 + '\'' +
                '}';
    }
}
